package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName post_area
 */
@TableName(value ="post_area")
@Data
public class PostArea implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子ID
     */
    @TableField(value = "post_id")
    private Integer postId;

    /**
     * 省份
     */
    @TableField(value = "province")
    private String province;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}